home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4244 < prev    next >
Encoding:
Text File  |  1996-08-06  |  2.6 KB  |  57 lines

  1. Newsgroups: comp.lang.c++
  2. Path: netcom.com!marnold
  3. From: marnold@netcom.com (Matt Arnold)
  4. Subject: [CORRECTION] Re: portable string library
  5. Message-ID: <marnoldDLxKnM.Lxv@netcom.com>
  6. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  7. References: <4e743n$3m@galaxy.ucr.edu> <4ehdg8$1kn@guava.epix.net> <marnoldDLxJo4.J34@netcom.com>
  8. Date: Mon, 29 Jan 1996 06:57:22 GMT
  9. Sender: marnold@netcom18.netcom.com
  10.  
  11. marnold@netcom.com (Matt Arnold) writes:
  12.  
  13. >hphilips@epix.net (Harry Philips) writes:
  14.  
  15. >>In article <4e743n$3m@galaxy.ucr.edu>, ychiu@cs.ucr.edu (Yuan-Chi Chiu) says:
  16. >>>
  17. >>>Hello all:
  18. >>>
  19. >>>  I'm looking for a string library that is portable to at least between
  20. >>>Unix and MicrosoftWindows.  
  21.  
  22. >>This may or may not be useful, but there's a book, "C++ Components and 
  23. >>Algorithms" by Scott Robert Ladd, M&T Books, 1992, ISBN 1-55851-227-6.
  24. >>As you can see by the publication date, this book is getting long of tooth
  25. >>but I think you can still find it. Chapter 3 is a string class including
  26. >>the C++ source code. 
  27.  
  28. >>This suggestion probably constitutes a secondary information source for
  29. >>you, but it could probably get you started fairly quickly if you are
  30. >>unsuccessful in finding a library elsewhere, and with the source, you can
  31. >>modify the class to suit your needs.
  32.  
  33. >Uh, does the phrase Standard Template Library (STL) ring any bells?  It 
  34. >includes a nice class called "string".  For those that don't know, the 
  35. >STL is poised to become the de facto standard glob of ADT, algorithm and 
  36. >utility classes for C++ programming.
  37.  
  38. Actually, let me make a correction.  The emerging "standard library" for
  39. C++ constains "string" (among other things like IO streams, etc.).  The
  40. Standard Template Library is only part of this, larger, standard library.
  41.  
  42. Sorry for any confusion.  My point was, in any case, that there is an
  43. emerging standard for a C++ string class.  If you are about to program 
  44. a bunch of code using strings, you might want to look at it, instead of 
  45. some random, non-standard string class "off the street".
  46.  
  47. It should be noted that the STL, etc. are intended to be inherently 
  48. portable.
  49.  
  50. -------------------------------------------------------------------------
  51. Matt Arnold                       |        | ||| | |||| |  | | || ||
  52. marnold@netcom.com                |        | ||| | |||| |  | | || ||
  53. Boston, MA                        |      0 | ||| | |||| |  | | || ||
  54. 617.389.7384 (h) 617.576.2760 (w) |        | ||| | |||| |  | | || ||
  55. C++, MIDI, Win32/95 developer     |        | ||| 4 3 1   0 8 3 || ||
  56. -------------------------------------------------------------------------
  57.